package com.monkeys.pojo;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @author KuangTeam
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
//货车对象
public class Vehicle {
    private Long id;
    private String type;                //货车的种类:箱式，板式...
    private Double weight;              //货车的重量(t)
    private Double maxLoad;             //最大载货量(t)
    private Integer actionId;           //当前行为id
    private Double lng;                 //当前经纬度
    private Double lat;                 //当前经纬度
    private Long demandsListId;          //整体接单流程表id(比如112->213->311)
    private Long goodsDemandId;         //接单的单子的id
    private Double senderDistance;      //距离发货地的距离,冗余字段
    private Double ownerDistance;       //距离收获地的距离,实际上是发货地到目的地的距离而不是真实距离,冗余字段
    private Double speed;               //当前速度
    private Action action;              //当前车辆状态
    private Double length;              //货车长度(m)
    private Double width;               //货车宽度(m)
    private Double height;              //货车高度(m)
    private Double maxVolume;           //最大载货体积(m3)
    private String bandName;            //货车品牌
    private String typeCode;            //车牌号
}
